package top.haichi.webpaper.service;

import org.springframework.stereotype.Service;
import top.haichi.webpaper.entity.Result;
import top.haichi.webpaper.entity.Student;
import top.haichi.webpaper.entity.User;

public interface UserLoginService {

    /**
     * 用户登录
     * @param user
     * @return
     */
    public Result login(User user);

    /**
     * 用户注册
     * @param user
     */
    Result register(User user);
}
